@h:500px;

div{
    width: @h;
    height: 300px;
    background: red;
}